package com.walleipt.demo.ioc.importSelect;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyImportSelector implements ImportSelector {

	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		
		
		System.err.println( "importingClassMetadata为标注@improt注解的类上的所有注解信息" );
		System.err.println( "imprt注解类："+ importingClassMetadata.getClassName() );
		for (String type : importingClassMetadata.getAnnotationTypes()) {
			System.err.println("importingClassMetadata:"+type);
		}
		
		return new String[]{};
	}

}
